<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%String basePath = request.getContextPath();%>

<div class="pageContent">

		<form method="post" action="<%=basePath%>/res/resAdd.action" class="pageForm required-validate" onsubmit="return validateCallback(this,dialogAjaxDone,'确认添加此资源信息吗?')">
			<!-- 页面字段值 -->
			<div class="pageFormContent" layoutH="56">
			
			<div class="unit"><label>资源名称：</label>
				<input type="text" id="resName" name="resources.resName" class="required"/>
			</div>
		
			<div class="unit"><label>资源链接：</label>
				<input type="text" id="resAction" name="resources.resAction" class="required"/>
			</div>
		
			<div class="unit"><label>是否根节点：</label>
				<select id="resIsNode" name="resources.resIsNode" class="required">
					<option value="0">是</option>
					<option value="1">否</option>
				</select>
			</div>
		
			<div class="unit"><label>资源编号：</label>
				<input type="text" id="resNodeNum" name="resources.resNodeNum" class="digits required"/>
			</div>
		
			<div class="unit"><label>资源备注：</label>
				<input type="text" id="resRemark" name="resources.resRemark"/>
			</div>

			</div>
				<div class="formBar">
					<ul>
						<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
						<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
					</ul>
			</div>
		</form>
</div>